package com.fy.fyspace.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("fileShare")
public class FileShare {
    
    @TableId
    private String shareId;
    
    @TableField
    private String fileId;
    
    @TableField
    private Long userId;
    
    @TableField
    private Integer validType;
    
    @TableField
    private Date expireTime;
    
    @TableField
    private Date shareTime;
    
    @TableField
    private String code;
    
    @TableField
    private Integer showCount;
} 